package com.atguigu.tingshu.album.client.impl;


import com.atguigu.tingshu.album.client.AlbumInfoFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.AlbumInfo;
import com.atguigu.tingshu.model.album.BaseCategory3;
import com.atguigu.tingshu.model.album.BaseCategoryView;
import com.atguigu.tingshu.model.album.TrackInfo;
import com.atguigu.tingshu.vo.album.AlbumStatVo;
import com.atguigu.tingshu.vo.album.TrackListVo;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class AlbumInfoDegradeFeignClient implements AlbumInfoFeignClient {


    @Override
    public Result<AlbumInfo> getAlbumInfoAndAttrValue(Long albumId) {
        // TODO 降级逻辑
        return Result.fail();

    }

    @Override
    public Result<BaseCategoryView> getAlbumCategory(Long albumId) {
        // TODO 降级逻辑
        return Result.fail();
    }

    @Override
    public Result<AlbumStatVo> getAlbumStat(Long albumId) {
        // TODO 降级逻辑
        return Result.fail();
    }

    @Override
    public Result<List<BaseCategory3>> getBaseCategory3ListByC1Id(Long c1Id) {
        // TODO 降级逻辑
        return Result.fail();
    }

    @Override
    public Result<List<Long>> getAllCategory1Id() {
        return Result.fail();
    }

    @Override
    public Result<List<TrackListVo>> getTrackListByIds(List<Long> trackIdList) {
        return Result.fail();
    }

    @Override
    public Result<List<Long>> getAlbumInfoIdList() {
        return Result.fail();
    }

    @Override
    public Result<List<TrackInfo>> getTrackListByCurrentTrackId(Long userId, Long trackId, Integer trackCount) {
        return Result.fail();
    }

    @Override
    public Result<TrackInfo> getTrackInfoByTrackId(Long trackId) {
        return Result.fail();
    }
}
